#!/bin/sh

sudo apt install -y build-essential cmake zlib1g-dev
#git clone https://github.com/machinezone/IXWebSocket.git
git clone https://gitee.com/mirrors_machinezone/IXWebSocket.git
cmake -Bb -DCMAKE_BUILD_TYPE:STRING=Release IXWebSocket
sudo cmake --build b -t install
cmake -Bc -DCMAKE_BUILD_TYPE:STRING=Release .
cmake --build c
